package com.bjpowernode.beans;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor
//序列化支持，
//1——实现Serializable接口
//2——自定义一个序列化版本【private static final long serialVersionUID = 10;】
public class Stu implements Serializable {
    //序列化版本号
    private static final long serialVersionUID = 10;
    int id;
    String name;
    float score;
    ClassRoom classRoom;
}
